from django.test import TestCase

# Create your tests here.
from demo_common_module.base_test_case import BaseApiTestCase


class LoggingApiTestCase(BaseApiTestCase):
    model_name = '日志管理'
    stage = 'XXXX'

    def test_logging_user(self):
        path = "/api/logging/user/action/"
        function_name = 'test_logging_user'
        # get
        input_data = {
            "start_time": "2021-12-11",
            "end_time": "2021-12-12"
        }
        desc = '查询用户日志'
        self.get(path, self.model_name, function_name, desc, input_data, self.stage)
